setTimeout(() => {
    console.log("This runs once after 1 second.");
  }, 1000);